#ifndef PAGE_H
#define PAGE_H
#include "common.h"
class Page
{
public:
	int dirty;
	long pincount;
	unsigned long priority;
	long pageno;
	unsigned char *pageData;
	Page(){
		dirty=0;// 0 false 1 True
		pincount=0;
		pageno=-1;//
		pageData='\0';
		//pageData = new unsigned char[PAGE_SIZE];
	}
};

typedef yadbms_common::rid PageId;
//struct PageId{
//	int pageNumber;
//	int slotId;
//};

#endif
